LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Remove Method
See Also 
Leadtools.Dicom.AddIn Namespace > ThreadSafeList<T> Class : Remove Method



item
The object to remove from the ICollection.
item
The object to remove from the ICollection.
Removes the first occurrence of a specific object from the ICollection.

Syntax

Visual Basic (Declaration) 
Public Function Remove( _
   ByVal item As T _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeList(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Remove(item)
C# 
public bool Remove( 
   T item
)
C++/CLI 
public:
bool Remove( 
   T^ item
) 

Parameters

item
The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

ExceptionDescription
System.NotSupportedException The is read-only.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features